<template>
  <div class="desc" style="display: inline;font-size: 14px">
    <p style="font-weight: 700">专辑介绍</p>
    <p style="text-indent: 2em;line-height: 30px;margin-top: 10px">{{describe}}</p>
  </div>
</template>

<script>
  import {home} from "@/network/home";

  export default {
    name: "AlbumDesc",
    data(){
      return{
        describe:'',
      }
    },
    created() {
      this.getAlbum(this.$route.params.id)
    },
    methods:{
      getAlbum(id){
        home.getSingerAlbumSongs(id).then(res => {
          this.describe = res.data.album.description
        })
      },
    },
  }
</script>

<style scoped>

</style>
